Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update monitor_metrics.sh #1

Merged
merged 1 commit into from
Feb 24, 2020
Merged

Conversation

jakeRM
Copy link
Owner

@jakeRM jakeRM commented Feb 24, 2020

FIXES:
Resolves an issue with the script running on replicas
Resolves an issue with the script running and no checkpoint logs are found

IMPROVEMENTS:

  • monitor_errors() function will only run on the latest log updates to errors.csv by using a data file to retain where it parsed on the last run
  • monitor_completed_cmds() function will only run on the latest log updates to p4 log file by using a data file to retain where it parsed on the last run.
  • If log files are not updated then the prom files are deleted so they do not keep sending stail data to the node_exporter

Links to open issues addressed by this change:

perforce#11
perforce#10
perforce#9

FIXES:
Resolves an issue with the script running on replicas
Resolves an issue with the script running and no checkpoint logs are found

IMPROVEMENTS:
* monitor_errors() function will only run on the latest log updates to errors.csv by using a data file to retain where it parsed on the last run
* monitor_completed_cmds() function will only run on the latest log updates to p4 log file by using a data file to retain where it parsed on the last run.
* If log files are not updated then the prom files are deleted so they do not keep sending stail data to the node_exporter

# Links to open issues addressed by this change:
perforce#11
perforce#10
perforce#9
@jakeRM jakeRM merged commit ead9b0e into master Feb 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant